//
// Created by ziya on 2021/4/29.
//

#include "InstanceKlass.h"
#include "../../../include/common.h"
#include "../gc_interface/CollectedHeap.h"

instanceOop InstanceKlass::allocate_instance(size_t size) {
    instanceOop i = (instanceOop)CollectedHeap::obj_allocate(size);

    return i;
}